package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Table(name = "cn_omc_old_out_set_meal")
public class OmcOldOutSetMeal extends BaseEntity {

    /**
     * 调房调级Id
     */
    @Column(name = "old_out_id")
    private Long oldOutId;

    /**
     * 套餐id
     */
    @Column(name = "set_meal_id")
    private Long setMealId;

    /**
     * 套餐名称
     */
    @Column(name = "set_meal_name")
    private String setMealName;

    /**
     * 原价
     */
    @Column(name = "original_price")
    private BigDecimal originalPrice;

    /**
     * 实际价格
     */
    @Column(name = "actual_price")
    private BigDecimal actualPrice;

    /**
     * 减免价格
     */
    @Column(name = "sub_price")
    private BigDecimal subPrice;

    /**
     * 金额合计
     */
    @Column(name = "total_fee")
    private BigDecimal totalFee;

    /**
     * 折扣数乘以100后的值
     */
    private Integer discount;
}